package accountManagement;

public class Admin extends Account {
	private static final long serialVersionUID = 32366337966275081L;

	public Admin() {
		super();
	}
	
	public Admin(String nickname, String password) {
		super(nickname, password);
	}
	
	@Override
	public boolean equals(Object object) {
		return object != null && object instanceof Admin && super.equals((Admin)object);
	}
	
	@Override
	public String toString() {
		return "Admin[Nickname:" + super.getNickname() + ";Password:" + getPassword() + "]";
	}
}
